namespace ts6 {


    enum Types {
        Red,
        Green,
        Blue
    }
    enum Types2 {
        Red = 0,
        Green = 1,
        Blue = 2
    }
    enum Types3 {
        Red = 1,
        Green,
        Blue
    }
    enum Types4 {
        Red = 'red',
        Green = 'green',
        Blue = 'blue'
    }
    enum Types5 {
        No = 'No',
        Yes = 1
    }
    enum Types6 {
        yyds,
        dddd
    }
    interface A2 {
        red: Types6.yyds
    }

    let obj1: A2 = {
        red: Types6.yyds
    }

    enum Enum {
        fall
    }
    let a2 = Enum.fall;
    console.log(a2);
    let nameOfA = Enum[a2];
    console.log(nameOfA);
}
